#ifndef __BDGAMEEDITORAPP_H__
#define __BDGAMEEDITORAPP_H__

#include <standard/applite.h>
#include <standard/delegate.h>

class CWorkPanel;
class CWorkCanvas;
class CStatusBar;
class CObjectAttrEditorPanel;
class CBDGameEditorApp: public IDelegateInterface, public CAppLite{
public:
    CBDGameEditorApp();
    virtual ~CBDGameEditorApp();
    virtual CUIElement* Init( HUIHANDLE hParentHandle, int32 nWidth, int32 nHeight );
    virtual int32 Update( int32 nDelta, float fDelta );
    virtual int32 Render( int32 nDelta, float fDelta );
    virtual int32 Final();

private:
    void OnNotification_NewGame_Event( int32 w, int32 l, void* pData );
    void OnNotification_SaveGame_Event( int32 w, int32 l, void* pData );
    void OnNotification_OpenGame_Event( int32 w, int32 l, void* pData );

    CWorkPanel* m_pWorkPanel;
    CWorkCanvas* m_pWorkCanvas;
    CStatusBar* m_pStatusBar;
    CObjectAttrEditorPanel* m_pObjectAttrEditorPanel;

};




#endif
